package com.mbc.service;

import com.github.pagehelper.PageInfo;
import com.mbc.vo.PopularScienceTweetInfoVO;
import com.mbc.vo.PopularScienceVO;

import java.util.ArrayList;

/**
 * <p>
 * 科普表 服务类
 * </p>
 *
 * @author suimeng
 * @since 2024-04-16
 */
public interface PopularScienceService {

    /**
     * 查询科普推文
     *
     * @return {@link ArrayList}<{@link PopularScienceVO}>
     */
    PageInfo<PopularScienceVO> getPopularScienceTweets(Integer page, Integer size);

    /**
     * 查询科普推文信息
     *
     * @param title 标题
     * @return {@link PopularScienceTweetInfoVO}
     */
    PopularScienceTweetInfoVO getPopularScienceTweetInfo(String title);
}
